namespace OracleInternal.Secure.Network
{
	public sealed class SHA512 : DataIntegrityAlgorithm
	{
		public SHA512()
		{
			h = new Class_h();
		}

		internal static string b(string A_0, int A_1)
		{
			char[] array = A_0.ToCharArray();
			int num = (int)((nint)(1823917644 + A_1) + (nint)63 + 46);
			int num2 = 0;
			if (num2 >= 1)
			{
				goto IL_0022;
			}
			goto IL_0055;
			IL_0055:
			if (num2 >= array.Length)
			{
				return string.Intern(new string(array));
			}
			goto IL_0022;
			IL_0022:
			int num3 = num2;
			char num4 = array[num3];
			byte b = (byte)((num4 & 0xFFu) ^ (uint)num++);
			byte b2 = (byte)(((int)num4 >> 8) ^ num++);
			byte num5 = b2;
			b2 = b;
			b = num5;
			array[num3] = (char)((b2 << 8) | b);
			num2++;
			goto IL_0055;
		}
	}
}
